<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>LibDriver WS2812B: ws2812b_handle_s Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="doxygen.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">LibDriver WS2812B
   &#160;<span id="projectnumber">1.0.0</span>
   </div>
   <div id="projectbrief">WS2812B full function driver</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('structws2812b__handle__s.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-attribs">Data Fields</a>  </div>
  <div class="headertitle">
<div class="title">ws2812b_handle_s Struct Reference<div class="ingroups"><a class="el" href="group__ws2812b__driver.html">ws2812b driver function</a> &raquo; <a class="el" href="group__ws2812b__base__driver.html">ws2812b base driver function</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p>ws2812b handle structure definition  
 <a href="structws2812b__handle__s.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="driver__ws2812b_8h_source.html">driver_ws2812b.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:ab72348e771a9f761c86d6286d42a1a14"><td class="memItemLeft" align="right" valign="top">uint8_t(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structws2812b__handle__s.html#ab72348e771a9f761c86d6286d42a1a14">spi_10mhz_init</a> )(void)</td></tr>
<tr class="separator:ab72348e771a9f761c86d6286d42a1a14"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9adb2481330acacfd7f6a04ce3310fab"><td class="memItemLeft" align="right" valign="top">uint8_t(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structws2812b__handle__s.html#a9adb2481330acacfd7f6a04ce3310fab">spi_deinit</a> )(void)</td></tr>
<tr class="separator:a9adb2481330acacfd7f6a04ce3310fab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adac0200f9c9e205330090e0d34f605d5"><td class="memItemLeft" align="right" valign="top">uint8_t(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structws2812b__handle__s.html#adac0200f9c9e205330090e0d34f605d5">spi_write_cmd</a> )(uint8_t *buf, uint16_t len)</td></tr>
<tr class="separator:adac0200f9c9e205330090e0d34f605d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a406c9433252b7366de417b7a60915c81"><td class="memItemLeft" align="right" valign="top">void(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structws2812b__handle__s.html#a406c9433252b7366de417b7a60915c81">delay_ms</a> )(uint32_t ms)</td></tr>
<tr class="separator:a406c9433252b7366de417b7a60915c81"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a769d5b3a6c14790a0e126e8fe70b384b"><td class="memItemLeft" align="right" valign="top">void(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structws2812b__handle__s.html#a769d5b3a6c14790a0e126e8fe70b384b">debug_print</a> )(const char *const fmt,...)</td></tr>
<tr class="separator:a769d5b3a6c14790a0e126e8fe70b384b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a19bedf28d2b9748f6a62d9ae93f4e68f"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structws2812b__handle__s.html#a19bedf28d2b9748f6a62d9ae93f4e68f">inited</a></td></tr>
<tr class="separator:a19bedf28d2b9748f6a62d9ae93f4e68f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>ws2812b handle structure definition </p>

<p class="definition">Definition at line <a class="el" href="driver__ws2812b_8h_source.html#l00069">69</a> of file <a class="el" href="driver__ws2812b_8h_source.html">driver_ws2812b.h</a>.</p>
</div><h2 class="groupheader">Field Documentation</h2>
<a id="a769d5b3a6c14790a0e126e8fe70b384b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a769d5b3a6c14790a0e126e8fe70b384b">&#9670;&nbsp;</a></span>debug_print</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void(* debug_print) (const char *const fmt,...)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>point to a debug_print function address </p>

<p class="definition">Definition at line <a class="el" href="driver__ws2812b_8h_source.html#l00075">75</a> of file <a class="el" href="driver__ws2812b_8h_source.html">driver_ws2812b.h</a>.</p>

</div>
</div>
<a id="a406c9433252b7366de417b7a60915c81"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a406c9433252b7366de417b7a60915c81">&#9670;&nbsp;</a></span>delay_ms</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void(* delay_ms) (uint32_t ms)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>point to a delay_ms function address </p>

<p class="definition">Definition at line <a class="el" href="driver__ws2812b_8h_source.html#l00074">74</a> of file <a class="el" href="driver__ws2812b_8h_source.html">driver_ws2812b.h</a>.</p>

</div>
</div>
<a id="a19bedf28d2b9748f6a62d9ae93f4e68f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a19bedf28d2b9748f6a62d9ae93f4e68f">&#9670;&nbsp;</a></span>inited</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t inited</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>inited flag </p>

<p class="definition">Definition at line <a class="el" href="driver__ws2812b_8h_source.html#l00076">76</a> of file <a class="el" href="driver__ws2812b_8h_source.html">driver_ws2812b.h</a>.</p>

</div>
</div>
<a id="ab72348e771a9f761c86d6286d42a1a14"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab72348e771a9f761c86d6286d42a1a14">&#9670;&nbsp;</a></span>spi_10mhz_init</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t(* spi_10mhz_init) (void)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>point to a spi_10mhz_init function address </p>

<p class="definition">Definition at line <a class="el" href="driver__ws2812b_8h_source.html#l00071">71</a> of file <a class="el" href="driver__ws2812b_8h_source.html">driver_ws2812b.h</a>.</p>

</div>
</div>
<a id="a9adb2481330acacfd7f6a04ce3310fab"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9adb2481330acacfd7f6a04ce3310fab">&#9670;&nbsp;</a></span>spi_deinit</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t(* spi_deinit) (void)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>point to a spi_deinit function address </p>

<p class="definition">Definition at line <a class="el" href="driver__ws2812b_8h_source.html#l00072">72</a> of file <a class="el" href="driver__ws2812b_8h_source.html">driver_ws2812b.h</a>.</p>

</div>
</div>
<a id="adac0200f9c9e205330090e0d34f605d5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adac0200f9c9e205330090e0d34f605d5">&#9670;&nbsp;</a></span>spi_write_cmd</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t(* spi_write_cmd) (uint8_t *buf, uint16_t len)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>point to a spi_write_cmd function address </p>

<p class="definition">Definition at line <a class="el" href="driver__ws2812b_8h_source.html#l00073">73</a> of file <a class="el" href="driver__ws2812b_8h_source.html">driver_ws2812b.h</a>.</p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>src/<a class="el" href="driver__ws2812b_8h_source.html">driver_ws2812b.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="structws2812b__handle__s.html">ws2812b_handle_s</a></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
